<%= error_messages_for 'transaction1' %>

<!--[form:transaction1]-->
<p><label for="transaction1_name">Cuenta</label><br/>

<%= text_field_with_auto_complete :account,:name %>

<%= hidden_field 'transaction1','period_id',  :value=> params[:period]%>
<p><label for="transaction1_date">Fecha</label><br/>    

<%= datetime_select 'transaction1', 'date', :order=>[:day,:month,:year], :start_year=>@year,:end_year=>@year,:start_month=>2,:end_month=>3, :use_month_numbers => true %></p>

<p><label for="transaction1_amount">Cantidad</label><br/>
<%= text_field 'transaction1', 'amount'  %></p>

<p><label for="transaction1_subject">Descripci&oacute;n</label><br/>
<%= text_area 'transaction1', 'subject'  %></p>
<!--[eoform:transaction1]-->

